package com.ht.managermentserver.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户临时使用表
 *
 * @author czy
 * @since 2020-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SysUser对象", description = "用户临时使用表")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"version", "deleted", "createDate", "updateDate", "createId", "updateId"})
public class SysUser extends BaseEntity {


  public static final String ID = "id";
  public static final String USER_NAME = "user_name";
  public static final String PASS_WORD = "pass_word";

  private static final long serialVersionUID = -4799144422275498999L;

  @JsonIgnore
  @ApiModelProperty(value = "主键")
  private Long id;

  @ApiModelProperty(value = "用户名")
  private String userName;

  @JsonIgnore
  @ApiModelProperty(value = "密码")
  private String passWord;


}
